package com.uwo.house.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.uwo.house.beans.request.BindSupervisionReq;
import com.uwo.house.beans.request.SupervisionSearchReq;
import com.uwo.house.beans.response.SupervisionOrderResp;

@Repository
public interface SupervisionOrderDao {
	void insertSupervisionOrder(BindSupervisionReq supervision);
	
	List<SupervisionOrderResp> selectSupervisionOrder(SupervisionSearchReq searchFilter);
	
	int countSupervisionOrder(SupervisionSearchReq searchFilter);

	/**
	 * 监理中心监理订单状态
	 */
	int updateSupervisionStatus(@Param("orderId") String orderId, @Param("supervisorId") String supervisorId);


}
